#include <REGX52.H>

void Timer0_Init(){
	TMOD &= 0xF0;	
	TMOD |= 0x01;
	TL0 = 0xCD;	
	TH0 = 0xF8;	
	TF0 = 0;
	TR0 = 1;
	ET0 = 1;
	EA = 1;
}

void Timer1_Init(){
	TMOD &= 0x0F;
	TMOD |= 0x10;
	TL1 = 0x00;
	TH1 = 0x4C;
	TF1 = 0;
	TR1 = 0;
	ET1 = 1;
}
